#ifndef MICINFO_H
#define MICINFO_H

#include "baseresp.h"
#include <QMetaType>

class MicInfo : public BaseResp
{
public:
    MicInfo();

    enum MicStatus{
        MIC_DISABLE=0,
        MIC_ENABLED,
        MIC_STATUS_MAX
    };

    void unserialize(QString json);

    int getEnable() const;
    void setEnable(int value);

private:
    int enable;
};

Q_DECLARE_METATYPE(MicInfo)

#endif // MICINFO_H
